import { createApp } from 'vue'
import App from './App.vue'
import 'amfe-flexible';

import router from '../src/router'
import './common/css/base.less'

import store from './store'
const  app=  createApp(App)
///app.use(router) 需放在app.mount(’#app’)前面 不然加载时router-view、router-link等未被渲染
       app.use(router)
       app.use(store)
       app.mount('#app')
       
import {Button,Icon,Tab,Tabs,TreeSelect,Stepper,ActionBar,ActionBarIcon,ActionBarButton,Toast,Checkbox,CheckboxGroup,
       SubmitBar,ContactCard,Card,Dialog,AddressEdit,AddressList
       ,Form,Field,CellGroup} from 'vant'  

import 'vant/es/toast/style';
import 'vant/es/dialog/style';
     app.use(Button).use(Icon).use(Tab).use(Tabs).use(TreeSelect).use(Stepper).use(ActionBar)
     .use(ActionBarIcon).use(ActionBarButton).use(Toast).use(Checkbox).use(CheckboxGroup).use(SubmitBar)
     .use(ContactCard).use(Card).use(Dialog).use(AddressEdit).use(AddressList).use(Form).use(Field).use(CellGroup)

    